<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-供应商信息管理">
</@frame.head>
<style>
.title{
background-color: #d9d9d9;
height: 30px;
font-weight: bold;
padding-left: 20px;
padding-top: 10px;
	}
.merchant_image{
clear:both;
display:block;
width:120px;
height:120px;
padding-bottom: 10px;
	}
</style>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 后台管理中心 <span class="c-gray en">&gt;</span> 采购管理 <span class="c-gray en">&gt;</span> 查看供应商信息 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<div class="title">企业信息</div>
			<table class="table">
			<tr>
			<td width="120px"><label for="">供应商名称：</label></td>
			<td>${merchant.mercName}</td>
		    </tr>
			<tr>
		    <td>	
			<label for="" style="width: 200">登陆帐号：</label></td>
			<td>${merchant.merchantLoginName}
			</td>
		    </tr>
			<tr>
		    <td>	
			<label for="">状态：</label></td>
			<td>
			<#if merchant.valid=1>启用
			<#elseif merchant.valid=2>禁用
			</#if>
			</td>
		    </tr>
			<tr>
		    <td>	
			<label for="">保证金：</label></td>
			<td>${merchant.margin}</td>
		    </tr>
			<tr>
		    <td>		
			<label for="">商户类型：</label></td>
			<td>${mercType.name}
			</td>
		    </tr>
			<tr id="ss">
		    <td>	
			<label for="">经营商品类型：</label></td>
			<td>${merchant.proTypes}</td>
		    </tr>
			<tr>
		    <td>	
			<label for="">法人：</label></td>
			<td>${merchant.corporateRepre}
			</td>
		    </tr>
			<tr>
		    <td>	
			<label for="">合作协议：</label></td>
			<td>${merchant.collAgreement}
			</td>
		    </tr>
			<tr>
		    <td>	
			<label for="" >商户简介：</label>	</td>
			<td>${merchant.detail}
			</td>
		    </tr>
		</table>
		
			<div class="title">联系信息</div>
		<table class="table">
			<tr>
		    <td  width="120px">
				<label for="">联系人：</label></td>
			<td>${merchant.linkMan}
			</td>
		    </tr>
			<tr>
		    <td>	
				<label for="">联系电话：</label></td>
			<td>${merchant.linkTel}
			</td>
		    </tr>
			<tr>
		    <td>	
				<label for="">手机：</label></td>
			<td>${merchant.phone}
			</td>
		    </tr>
			<tr>
		    <td>	
				<label for="">邮箱：</label></td>
			<td>${merchant.email}
			</td>
		    </tr>
			<tr>
		    <td>	
				<label for="">联系地址：</label></td>
			<td>${merchant.address}
			</td>
		    </tr>	
		</table>
		
		<div class="title">资质信息</div>
		<table>
		<tr>
		<td width="50%">
			 <div >
				<label for="">资质证明：</label>	
				  <img id="image01"  class="merchant_image"  src="${imagePath}/upload/merchant/${merchant.aptitudeImage.aptitudeImage}" />						
		      	<label for="">资质证明备注：</label>	${merchant.aptitudeImage.aptitudeName}
			  </div><br>
	    </td>
		<td width="50%">
			  <div >
			  	<label for="">资质证明一：</label>	
		        <img id="image11"  class="merchant_image"   src="${imagePath}/upload/merchant/${merchant.aptitudeImage.firstImage}" />	
				<label for="">资质证明一备注：</label>${merchant.aptitudeImage.firstName}
			  </div><br>
	    </td>
	    <tr>
		</tr>	 
		<td width="50%">
			 	<div >
			  	<label for="">资质证明二：</label>	
		        <img id="image21"  class="merchant_image" src="${imagePath}/upload/merchant/${merchant.aptitudeImage.secondImage}" />						
				<label for="">资质证明二备注：</label>${merchant.aptitudeImage.secondName}
			  </div><br>
	    </td>
		<td width="50%">
			  <div >
			  	<label for="">资质证明三：</label>	
		        <img id="image31"  class="merchant_image" src="${imagePath}/upload/merchant/${merchant.aptitudeImage.thirdImage}" />						
				<label for="">资质证明三备注：</label>${merchant.aptitudeImage.thirdName}
			  </div><br>
	    </td>
	    </tr>
	    <tr>
		<td width="50%">
			  <div >
			  	<label for="">资质证明四：</label>	
		        <img id="image41"  class="merchant_image" src="${imagePath}/upload/merchant/${merchant.aptitudeImage.fourthImage}" />						
				<label for="">资质证明四备注：</label>${merchant.aptitudeImage.fourthName}
			  </div><br>
	    </td>
		<td width="50%">
			 <div >
			 	<label for="">资质证明五：</label>	
		        <img id="image51"  class="merchant_image" src="${imagePath}/upload/merchant/${merchant.aptitudeImage.fifthImage}" />						
				<label for="">资质证明五备注：</label>${merchant.aptitudeImage.fifthName}
			 </div><br>
	    </td>
	    </tr>
	    <tr>
		<td width="50%">	
			<div >
				<label for="">资质证明六：</label>	
		        <img id="image61" class="merchant_image" src="${imagePath}/upload/merchant/${merchant.aptitudeImage.sixthImage}" />
				<label for="">资质证明六备注：</label>${merchant.aptitudeImage.sixthName}
			</div>	<br>
		</td>
		<td colspan="3"></td>
		</tr>
		</table>
		<input class="btn btn-primary radius" type="button" onclick="cancle();" value="关闭"/>
</div>
<@frame.end "default">
</@frame.end>
<script type="text/javascript">
function cancle() {
	var index = parent.layer.getFrameIndex(window.name);
	parent.layer.close(index);
}
</script>